package com.jic.market.request.rest.seckill;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("查询秒杀列表Request")
public class SeckillProductListRequest {
    @NotNull(message = "缺少 start 参数")
    @ApiModelProperty(value = "分页参数 当前页码", required = true)
    private Integer start;
    @NotNull(message = "缺少 limit 参数")
    @ApiModelProperty(value = "分页参数 当前页总条数", required = true)
    private Integer limit;

    @ApiModelProperty(value = "活动状态 0已结束 1 进行中 2 未开始")
    private Integer status;

    @ApiModelProperty(value = "商品id")
    private Long goodsId;

    @ApiModelProperty(value = "秒杀活动id")
    private Long promotionId;
}
